package com.kangtushizhe.emuns;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiuZiMing
 * @since 2024-01-23
 */
@Data
@AllArgsConstructor
@TableName("tbl_prescription")
public class Prescription implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("doctor_id")
    private Integer doctorId;

    @TableField("pharmacist_id")
    private Integer pharmacistId;

    @TableField("drug_id_list")
    private String drugIdList;

    @TableField("number")
    private Integer number;

    //药物用法
    @TableField("w_usage")
    private String wUsage;

    @TableField("creation_time")
    private String creationTime;
}
